package cn.com.surker.lab.entity;

import cn.com.surker.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 工控机手动下料消耗表
 * </p>
 *
 * @author admin
 * @since 2024-11-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class LabExpendOther extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 标识
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 生产线ID
	 */
	private Long lineId;

	/**
	 * 材料ID
	 */
	private Long materialId;

	/**
	 * 仓位ID
	 */
	private Long storageId;

	/**
	 * 下料量
	 */
	private Double dosage;

	/**
	 * 操作时间
	 */
	private Date expendTime;

	/**
	 * 工控机的发货单值
	 */
	@Deprecated
	@TableField(exist = false)
	private String controlNo;

	/**
	 * 工控仓位
	 */
	private String controlStorage;

	/**
	 * 工控机材料
	 */
	private String controlMaterial;
}
